package com.lo.dao;

import com.lo.entity.Admin;
import com.lo.entity.Course;
import com.lo.entity.CourseWithTCHName;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AdminMapper {
    //查询已经审核的课程
    List<CourseWithTCHName> selectAllExaminedCourse(@Param("search") String search);
    //查询未审核课程
    List<CourseWithTCHName> selectAllNotExamineCourse(@Param("search") String search);
    //查询待删除课程
    List<CourseWithTCHName> selectAllDeletingCourse(@Param("search") String search);
    List<Admin> selectByUsernameAndPassword(@Param("username")String username, @Param("password") String password );
}
